#include<bits/stdc++.h>
#define mp(a,b) make_pair(a,b)
#define FILE_NAME "duel"
#define fre 1
using namespace std;
typedef long long ll;
int main(){
#ifdef fre
    freopen(FILE_NAME ".in","r",stdin);
    freopen(FILE_NAME ".out","w",stdout);
#endif
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    ll n,a[100010];
    cin>>n;
    for(int i=1;i<=n;i++){
        cin>>a[i];
    }
    sort(a+1,a+n+1);
    ll ans=-1,cur=0;
    for(int i=1;i<=n;i++){
        if(a[i]==a[i-1]||i==1){
            cur++;
        }else{
            ans=max(ans,cur);
            cur=1;
        }
    }
    cout<<ans<<endl;
#ifdef fre
    fclose(stdin);
    fclose(stdout);
#endif
    return 0;
}